home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
MacGzip 1.0
/
source
/
Mac
/
Work.h
< prev
Wrap
Text File
|
1995-08-31
|
637b
|
43 lines
/*
* Work.h
* (C) SPDsoft, August 29, 1995
*
*/
#ifndef _WORK_H_
#define _WORK_H_
typedef struct
{
short KeysMode;
short Op;
Boolean Prompt;
FSSpec fs;
} TWork, *TWorkPtr, **TWorkHandle;
#define kWorkEndErr 1;
#define kWorkNoMemErr 2;
/*
* Globals
*/
extern int w_start;
extern int w_end;
/*
* Prototypes
*/
int new_work( short km, short o, Boolean prompt, FSSpec *fs);
int get_work( short *km, short *o, Boolean *prompt, FSSpec *fs);
void reset_work(void);
/************************************************************************************
*/
#define empty_work ( w_start == w_end )
#endif